package DAYyy;

public class Doctor extends Person {
    String titie;
    Doctor(String name,int age,String address,String titie) {
        super(name, age, address);
        this.titie = titie;


    }
        void cut(){
            System.out.println(name+"在做手术"+"他是"+titie+"医生");
        }
        }




